﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Algo
{
    class Uniqor
    {
        public void Play(string str)
        {
            //string str = "bdcd";
            Console.Write(IsUniq(str) ? "Yes" : "No");
            //Console.Write("Is " + str + " unique?\t" + IsUniq(str) ? "Yes" : "No");
 
        }

        private bool IsUniq(string str)
        {
            int checker = 0;
            for (int i = 0; i < str.Length; i++)
            {
                int val = str[i] - 'a';
                if ((checker & (1 << val)) > 0)
                {
                    return false;
                }
                checker |= (1 << val);
            }
            return true;
        }

    }
}
